package com.kitty.web.client;


import com.kitty.common.utils.SpringUtils;
import com.kitty.game.gm.handler.GMFather;
import com.kitty.game.role.model.Role;
import org.springframework.stereotype.Service;

@Service
public class GmLoginAi implements GMFather {

    @Override
    public boolean handle(Role aaaaa, String content) {
        AiInfo aiInfo= new AiInfo();
        aiInfo.setLevel(Integer.parseInt(content));
        SpringUtils.getBean(ClientRoleManage.class).loginAI(aiInfo);
        return true;
    }

}
